﻿using System;

namespace Unijovem.UI.Helpers
{
    public class ContaEmailHelper
    {
        #region Conta enum

        public enum Conta
        {
            NaoResponder,
        }

        #endregion

        public static MailHelper.From ObterConta(Conta conta)
        {
            return new MailHelper.From
                       {
                           DisplayName = ConfigurationHelper.Get(string.Concat("DisplayNameContaEmail", conta.GetDescription())),
                           Email = ConfigurationHelper.Get(string.Concat("ContaEmail", conta.GetDescription())),
                           Password = ConfigurationHelper.Get(string.Concat("SenhaContaEmail", conta.GetDescription()), true)
                       };
        }
    }
}